package com.dgz.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dgz.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2024/12/02/16:19
 * @Description:
 */

@Data
@TableName("tb_sys_user")
public class SysUser extends BaseEntity {

    @TableId(value = "user_id",type = IdType.ASSIGN_ID)
    private Long userId;  // 主键，不使用auto_increment 使用雪花算法生成

    private String userAccount;

    private String password;

    private String nickName;



}
